<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据-预约记录</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link href="../../../css/base/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="../../../css/base/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="../../../css/base/animate.min.css" rel="stylesheet">
    <link href="../../../css/plugins/table/bootstrap-table.css" rel="stylesheet"/>
    <link href="../../../css/plugins/alert/messager.css" rel="stylesheet"/>
    <link href="../../../css/plugins/date/bootstrap-datetimepicker.css" rel="stylesheet">
    <link href="../../../css/plugins/date/daterangepicker-bs3.css" rel="stylesheet">
    <link href="../../../css/plugins/clockpicker/bootstrap-clockpicker.min.css" rel="stylesheet"/>
    <link href="../../../css/plugins/select/bootstrap-multiselect.css" rel="stylesheet"/>
    <link href="../../../css/plugins/fileinput/fileinput.css" rel="stylesheet">
    <link href="../../../css/style-main.css" rel="stylesheet">
    <link href="../../../css/style.css" rel="stylesheet">
    <link href="../../../css/plugins/icheck/orange.css" rel="stylesheet">
    <!--[if lt I]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
</head>

<body class="gray-bg" data-js="../../../js/module/data/yyue">

<div class="row white-bg dashboard-header">
    <div class="col-sm-12">
    </div>
</div>

<div class="wrapper wrapper-content fadeInRight">
    <div id="main_div" class="row">
        <div class="col-sm-12">
            <div class="ibox-title">
                <h5>预约记录列表</h5>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div id="search-toolbar" class="search-toolbar">
                        <div class="form-inline" role="form">
                            <div class="form-group">
                                <input type="number" class="form-control" id="s_id" placeholder="请输入编号"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_userwxid" placeholder="请输入用户编号"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_username" placeholder="请输入姓名"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_tel" placeholder="请输入手机号码"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_ydate" placeholder="请选择日期"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_ytime" placeholder="请输入时间"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_hxcode" placeholder="请输入核销码"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_ishx" data-id="-1" placeholder="请输选择是否核销"/>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="s_courseType" placeholder="请输输入预约课程"/>
                            </div>
                        </div>
                        <div class="form-inline" role="form">
                            <div class="form-group">
                                <label class="btn btn-white">核销日期</label>
                                <input type="hidden" id="s_hx_time_begin" name="s_hx_time_begin">
                                <input type="hidden" id="s_hx_time_end" name="s_hx_time_end">

                                <div id="s_hx_time" class="btn btn-white pull-right" style="padding: 6px 22px;">
                                    <i class="fa fa-calendar"></i>
                                    <span></span>
                                    <b class="caret"></b>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="btn btn-white">提交时间</label>
                                <input type="hidden" id="s_create_time_begin" name="s_create_time_begin">
                                <input type="hidden" id="s_create_time_end" name="s_create_time_end">

                                <div id="s_create_time" class="btn btn-white pull-right" style="padding: 6px 22px;">
                                    <i class="fa fa-calendar"></i>
                                    <span></span>
                                    <b class="caret"></b>
                                </div>
                            </div>
                        </div>
                        <div class="form-inline" role="form">
                            <div class="form-group">
                                <button type="button" class="btn btn-search" id="btn_search"><i class="fa fa-search"> </i> 搜索</button>
                                <button id="btn_add" class="btn btn-add"><i class="fa fa-plus"></i> 增加</button>
                                <button id="btn_deletes" class="btn btn-remove"><i class="glyphicon glyphicon-remove"></i> 批量删除</button>
                                <button id="btn_export" class="btn btn-default"><i class="glyphicon glyphicon-arrow-down"></i> 导出Excel</button>
                                <button id="btn_import" class="btn btn-default"><i class="glyphicon glyphicon-arrow-up"></i> 导入Excel</button>
                            </div>
                        </div>
                    </div>
                    <table id="myTable" data-click-to-select="true" data-show-add="true" data-show-refresh="true" data-show-toggle="true" data-show-columns="true">

                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 编辑信息 -->
    <div id="edit_div" class="row" style="display: none;">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>编辑预约记录</h5>
                    <div class="ibox-tools">
                        <a class="back_list" href="javascript:void(0)">
                            <i class="fa fa-reply"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="fm" method="post" class="form-horizontal" role="form">
                        <input type="hidden" id="_id"/>
                        <div class="modal-body">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">用户编号</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="userwxid" name="userwxid" placeholder="请输入姓名"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">核销码</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="hecode" name="hecode" placeholder="请输入姓名"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">姓名</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="username" name="username" placeholder="请输入姓名"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">手机号码</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="tel" name="tel" placeholder="请输入手机号码"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">日期</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="ydate" name="ydate" placeholder="请选择日期"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">时间</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="ytime" name="ytime" placeholder="请选择时间"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">核销码</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="hxcode" name="hxcode" placeholder="请输入核销码"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否核销</label>
                                <div class="col-sm-3">
                                    <div class="radio i-checks">
                                        <label><input type="radio" value="1" name="ishx"><i></i> 是</label>
                                        &nbsp;
                                        <label><input type="radio" value="0" name="ishx" checked><i></i> 否</label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">核销日期</label>
                                <div class="col-sm-3">
                                    <input type="text" id="hxdate" class="form-control datetime" placeholder="请选择核销日期">
                                    <input type="hidden" data-field="hxdate">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">添加日期</label>
                                <div class="col-sm-3">
                                    <input type="text" id="createdate" class="form-control datetime"  placeholder="请选择添加日期">
                                    <input type="hidden" data-field="createdate">
                                </div>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <div id="btn-add-div" style="display: none">
                                    <button type="submit" class="btn btn-main">添加</button>
                                    <button id="btn_contiune_add" type="button" class="btn btn-main">保存加</button>
                                    <button class="btn btn-white back_list" type="reset">取消并返回</button>
                                </div>
                                <div id="btn-edit-div" style="display: none">
                                    <button type="submit" class="btn btn-main">修改</button>
                                    <button class="btn btn-white back_list" type="reset">取消并返回</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- 导入excel -->
    <div id="import_div" class="row" style="display: none;">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>导入预约记录信息</h5>
                    <div class="ibox-tools">
                        <a href="javascript:void(0)" class="back_list">
                            <i class="fa fa-reply"></i> 返回
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="fm_import" method="post" class="form-horizontal m-t" role="form">
                        <div class="modal-body">
                            <div class="form-group">
<!--                                <label class="col-sm-2 control-label">下载模板</label>-->
<!--                                <div class="col-sm-6">-->
<!--                                    <p class="form-control-static"><a href="http://file.zsmy.cn/doctor_manage/standard_req_tmpl.xlsx" target="_blank">下载</a></p>-->
<!--                                </div>-->
                                    <label class="col-sm-2 control-label">请选择操作</label>
                                    <div class="col-sm-3">
                                        <div class="radio i-checks">
                                            <label><input type="radio" value="1" name="free_trial"><i></i> 新增</label>
                                            &nbsp;
                                            <label><input type="radio" value="0" name="free_trial" checked><i></i> 更新</label>
                                        </div>
                                    </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="param-required">*</span>execl文件</label>
                                <div class="col-sm-6">
                                    <input type="file" id="import_file" name="file" class="file-loading"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-6">
                                    <p class="form-control-static alert alert-warning" id="import_tip"></p>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../../../js/base/require.min.js" defer="" data-main="../../../js/main"></script>

</body>

</html>